<template>
  <div id="app">
    <Uploader @onChange="handleChange" :limit="5"/>
  </div>
</template>

<script>
import Uploader from "@/components/Uploader";

export default {
  name: 'App',
  components: {Uploader},
  data() {
    return {
      fileList: []
    }
  },
  methods: {
    handleChange(fileList) {
      this.fileList = fileList
    }
  }
}
</script>

<style lang="less">
#app {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
</style>
